﻿@model QDT.Core.Domain.UserCarry

<div class="main">
    <div class="main_title"><a href="#" target="_blank">@Html.F().GetUserName(Model.UserId)</a>的提现申请</div>
    <div class="blank5"></div>
    <form name="edit" action="@Url.Action("PostProcess")" method="post" enctype="multipart/form-data">
        <table class="form">
            <tbody><tr>
                       <td colspan="2" class="topTd"></td>
                   </tr>
                <tr>
                    <td class="item_title">开户行</td>
                    <td class="item_input">
                        @Html.F().GetBankById(Model.BankId)
                    </td>
                </tr>
                <tr>
                    <td class="item_title">开户行所在地</td>
                    <td class="item_input">
                        @Html.F().GetRegionById(Model.RegionLv1) &nbsp;
                        @Html.F().GetRegionById(Model.RegionLv2) &nbsp;
                        @Html.F().GetRegionById(Model.RegionLv3) &nbsp;
                        @Html.F().GetRegionById(Model.RegionLv4)
                    </td>
                </tr>
                <tr>
                    <td class="item_title">开户行网点</td>
                    <td class="item_input">
                        @Model.BankZone		</td>
                </tr>
                <tr>
                    <td class="item_title">银行卡卡号</td>
                    <td class="item_input">
                        @Model.BankCard		</td>
                </tr>
                <tr>
                    <td class="item_title">开户名</td>
                    <td class="item_input">
                        @Model.RealName		</td>
                </tr>
                <tr>
                    <td class="item_title">处理结果</td>
                    <td class="item_input" id="CarryStatusBox">
                        <select id="status" name="status">
                            <option value="0" @(Model.Status == 0 ? "selected" : "") >未处理</option>
                            <option value="6" @(Model.Status == 6 ? "selected" : "") >提交通联</option>
                            <option value="1" @(Model.Status == 1 ? "selected" : "") >申请通过</option>
                            <option value="2" @(Model.Status == 2 ? "selected" : "") >申请驳回</option>
                        </select>
                    </td>
                </tr>
	
                <tr>
                    <td class="item_title">原因:</td>
                    <td class="item_input"><input  disabled class="textarea" id="msg" name="msg" style="height: 80px; width: 400px;" />
                    </td>
                </tr>
	
                <tr>
                    <td class="item_title">操作备注:</td>
                    <td class="item_input"><input class="textarea"  id="desc" name="desc" style="height: 80px; width: 400px;" />
                    </td>
                </tr>
                <tr>
                    <td class="item_title">&nbsp;</td>
                    <td class="item_input">
                        <!--隐藏元素-->
                        <input type="hidden" name="id" value="@Model.ID" />
                        <input type="submit" class="button" value="确认" />
                        <input type="reset" class="button" value="重置" />
                    </td>
                </tr>	
                <tr>
                    <td colspan="2" class="bottomTd"></td>
                </tr>
            </tbody>
        </table>	 
    </form>
    <script type="text/javascript">
        $("#status").change(function () {
            if ($("#status").val() == 2) {
                $("#desc").attr("disabled", "disabled");
                $("#msg").removeAttr("disabled");
            } else {
                $("#msg").attr("disabled", "disabled");
                $("#desc").removeAttr("disabled");
            }
        })
    </script>
</div>